import React from 'react'
import { Tabs, Card } from 'antd'
import { PageHeaderWrapper } from '@ant-design/pro-layout'
import YhqList from './subComp/yhqList'
import YhqListBeUsed from './subComp/yhqListBeUsed'
const { TabPane } = Tabs

const CouponManage = () => {
  return (<PageHeaderWrapper>
    <Card>
      <Tabs>
        <TabPane tab="优惠券" key="1">
          <YhqList />
        </TabPane>
        <TabPane tab="已结束优惠券" key="2">
          <YhqListBeUsed />
        </TabPane>
      </Tabs>
    </Card>
  </PageHeaderWrapper>)
}

export default CouponManage
